#include<cstdio>
#include<cmath>
long long a[1000000];
int main()
{
	
	int n=1;
	while(scanf("%lld",&a[n])!=EOF)
	{
		n++;
	}
	for(int i=n-1;i>=1;i--)
		printf("%0.4lf\n",sqrt((double)a[i]));
	return 0;
}

